package com.example.qxfw.common.entity.qx;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 能见度预报
 */
@Data
@TableName("hazevisibility_forecast")
public class HazeVisibilityForecast {

    @ApiModelProperty(value = "站点编号", required = true, example = "")
    private String stationid;
    @ApiModelProperty(value = "日期", required = true, example = "")
    private Date datechar;
    @ApiModelProperty(value = "时效", required = true, example = "")
    private Integer ntimes;
    @ApiModelProperty(value = "站点名称", required = false, example = "")
    private String stationname;
    @ApiModelProperty(value = "能见度范围", required = false, example = "")
    private Double hazevisibility;
    @ApiModelProperty(value = "经度", required = false, example = "")
    private Double longitude;
    @ApiModelProperty(value = "纬度", required = false, example = "")
    private Double latitude;
    @ApiModelProperty(value = "海拔", required = false, example = "")
    private Float altitude;


    public void setStationname(String stationname) {
        this.stationname = stationname == null ? null : stationname.trim();
    }

}